package com.mida.dms.knw.entity.vo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <h1>本体类型树状结构vo</h1>
 * <p>
 *
 * @author jian.li on 2021/3/23 11:07
 */
@Data
@ApiModel(description = "本体类型树状结构vo")
public class KnwNoumenonTreeVo implements Serializable {

    @ApiModelProperty(value = "一级类型code")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
   private Long firstLevelTypeCode;

    @ApiModelProperty(value = "一级类型名称")
    private  String firstLevelTypeName;

    @ApiModelProperty(value = "二级类型code")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long secondLevelTypeCode;

    @ApiModelProperty(value = "二级类型名称")
    private  String secondLevelTypeName;

    private static final long serialVersionUID = 1L;
}
